package com.datatools.entity;

import java.io.Serializable;

public class LocalFunction implements Serializable {

    protected static final long serialVersionUID = 1L;
//    FUNCTION_CAT String => function catalog (may be null)
    private String functionCat;
//    FUNCTION_SCHEM String => function schema (may be null)
    private String functionSchem;
//    FUNCTION_NAME String => function name. This is the name used to invoke the function
    private String functionName;
//    REMARKS String => explanatory comment on the function
    private String remarks;
//    FUNCTION_TYPE short => kind of function:
//    functionResultUnknown - Cannot determine if a return value or table will be returned
//    functionNoTable- Does not return a table
//    functionReturnsTable - Returns a table
    private short functionType;
//    SPECIFIC_NAME String => the name which uniquely identifies this function within its schema. This is a user specified, or DBMS generated, name that may be different then the FUNCTION_NAME for example with overload functions
    private String specificName;

    @Override
    public String toString() {
        return this.functionName;
    }

    public String getFunctionCat() {
        return functionCat;
    }

    public void setFunctionCat(String functionCat) {
        this.functionCat = functionCat;
    }

    public String getFunctionSchem() {
        return functionSchem;
    }

    public void setFunctionSchem(String functionSchem) {
        this.functionSchem = functionSchem;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public short getFunctionType() {
        return functionType;
    }

    public void setFunctionType(short functionType) {
        this.functionType = functionType;
    }

    public String getSpecificName() {
        return specificName;
    }

    public void setSpecificName(String specificName) {
        this.specificName = specificName;
    }
}
